package com.dk;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@EnableDubbo //开启基于注解的dubbo服务功能 使用springboot dubbo的时候，启动类必须加
@MapperScan("com.dk.mapper") //扫射这个包
public class SpringbootDubboProducerApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootDubboProducerApplication.class, args);
    }

}
